package com.itheima.bigevent.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * ClassName: JWTProperties
 * Package: com.itheima.bigevent.property
 * Description:jwt的配置类
 *
 * @Author: Zhang Peiyuan
 * @Create: 2025-01-03-17:36
 * @Version: v1.0
 */
@Component
@ConfigurationProperties(prefix="jwt")
@Data
public class JWTProperties {
    // 过期时间
    private long ttl;
    // 秘钥
    private String secretKey;
}
